import request from '@/utils/request'

export function getPlugCategory(data) {
    return request({
      url: '/admin/plugCategory/getCategory',
      method: 'post',
      data
    })
}


export function getAddonsLists(data) {
  return request({
    url: '/admin/addons/getAddonsLists',
    method: 'post',
    data
  })
}


export function installAddons(data) {
  return request({
    url: '/admin/addons/installAddons',
    method: 'post',
    data
  })
}


export function unstallAddons(data) {
  return request({
    url: '/admin/addons/unstallAddons',
    method: 'post',
    data
  })
}
